Intent to Remove: Case-insensitive matching for usemap attribute

90 просмотров
Перейти к первому непрочитанному сообщению

TAMURA, Kent

не прочитано,
14 нояб. 2016 г., 23:37:2414.11.2016
– blink-dev
Contact emails

Spec


Summary
"Compatibility caseless" had been applied to usemap attribute matching. The specification was updated so that case-sensitive matching is applied. https://github.com/whatwg/html/commit/6acdb2122298d2bb7bb839c0a61b4e1f9b0f9bc9

For example,
<img usemap="#map1">  <map name="MAP1">...</map>  won't work.


Motivation
"Compatibility caseless" matching is very complicated, and there were no browsers implementing it correctly.  UseCounter proved such complicated algorithm was unnecessary, and even ASCII case-insensitive matching is unnecessary.


Interoperability risk
Firefox: No public signals
Edge: No public signals
Safari: No public signals
Web developers: No signals

Blink will be the first engine to implement the new behavior.  However, web-platform-tests already has automated tests for the new behavior.


Compatibility risk
Low.
According to UseCounters, 0.0002% [1] + [2] of page views will break.



Ongoing technical constraints
None.


Will this feature be supported on all six Blink platforms (Windows, Mac, Linux,
Chrome OS, Android, and Android WebView)?
Yes.


OWP launch tracking bug


Link to entry on the Chrome Platform Status


Requesting approval to ship?
Yes.


--
TAMURA Kent
Software Engineer, Google


Chris Harrelson

не прочитано,
14 нояб. 2016 г., 23:38:4714.11.2016
– TAMURA, Kent, blink-dev
LGTM1

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.

Rick Byers

не прочитано,
14 нояб. 2016 г., 23:43:3514.11.2016
– Chris Harrelson, TAMURA, Kent, blink-dev
LGTM2

But given that we're first and usage is non-zero, can we have a deprecation message for at least a milestone?

TAMURA, Kent

не прочитано,
15 нояб. 2016 г., 00:48:4415.11.2016
– Rick Byers, Chris Harrelson, blink-dev
ok, let's have a deprecation period.

Philip Jägenstedt

не прочитано,
16 нояб. 2016 г., 04:24:3716.11.2016
– TAMURA, Kent, Rick Byers, Chris Harrelson, blink-dev
IIUC, no browser already does case-sensitive matching (in HTML documents) here, is that right? https://github.com/whatwg/html/pull/1941#issuecomment-255784034 lists the bugs that were filed, can you write on all three that this is happening in Blink and that if that makes them nervous, now is the time to say so?

LGTM3, and again I think we should be very quick to revert if there are regressions.

LGTM1

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.


Ответить всем
Отправить сообщение автору
Переслать
0 новых сообщений