Intent to Remove: Case-insensitive matching for usemap attribute

瀏覽次數:73 次
跳到第一則未讀訊息

TAMURA, Kent

未讀,
2016年11月14日 下午11:37:242016/11/14
收件者: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

未讀,
2016年11月14日 下午11:38:472016/11/14
收件者: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

未讀,
2016年11月14日 下午11:43:352016/11/14
收件者: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

未讀,
2016年11月15日 上午12:48:442016/11/15
收件者:Rick Byers、Chris Harrelson、blink-dev
ok, let's have a deprecation period.

Philip Jägenstedt

未讀,
2016年11月16日 上午4:24:372016/11/16
收件者: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 則新訊息