Intent to Remove: Case-insensitive matching for usemap attribute

73 kali dilihat
Langsung ke pesan pertama yang belum dibaca

TAMURA, Kent

belum dibaca,
14 Nov 2016 23.37.2414/11/16
kepadablink-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

belum dibaca,
14 Nov 2016 23.38.4714/11/16
kepadaTAMURA, 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

belum dibaca,
14 Nov 2016 23.43.3514/11/16
kepadaChris 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

belum dibaca,
15 Nov 2016 00.48.4415/11/16
kepadaRick Byers, Chris Harrelson, blink-dev
ok, let's have a deprecation period.

Philip Jägenstedt

belum dibaca,
16 Nov 2016 04.24.3716/11/16
kepadaTAMURA, 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.


Balas ke semua
Balas ke penulis
Teruskan
0 pesan baru