Intent to Remove: Case-insensitive matching for usemap attribute

ยอดดู 94 ครั้ง
ข้ามไปที่ข้อความที่ยังไม่อ่านรายการแรก

TAMURA, Kent

ยังไม่อ่าน,
14 พ.ย. 2559 23:37:2414/11/59
ถึง 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 พ.ย. 2559 23:38:4714/11/59
ถึง 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 พ.ย. 2559 23:43:3514/11/59
ถึง 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 พ.ย. 2559 00:48:4415/11/59
ถึง Rick Byers, Chris Harrelson, blink-dev
ok, let's have a deprecation period.

Philip Jägenstedt

ยังไม่อ่าน,
16 พ.ย. 2559 04:24:3716/11/59
ถึง 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 รายการ