|
Remove the Media Query "forward compatibly syntax" support in alignment with HTML5 spec
Media queries, as described in the Media Queries Level 3 specification, build
on the mechanism outlined in HTML4. The syntax of media queries fit into the
media type syntax reserved in HTML4. The media attribute of HTML4 also exists
in XHTML and generic XML. The same syntax can also be used inside in the
‘@media’ and ‘@import’ rules of CSS.
However, the parsing rules for media queries are incompatible with those of
HTML4 so that they are consistent with those of media queries used in CSS.
HTML5 references the Media Queries specification directly and thus updates the
rules for HTML.
This change is in alignment with Presto and Gecko behavior.
R=apavlov@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=151772
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+108 lines, -143 lines) |
Patch |
|
M |
LayoutTests/fast/media/media-descriptor-syntax-01.html
|
View
|
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/media-descriptor-syntax-01-expected.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/media-descriptor-syntax-02.html
|
View
|
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/media-descriptor-syntax-02-expected.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/media-descriptor-syntax-03.html
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/media-descriptor-syntax-03-expected.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/media-descriptor-syntax-04.html
|
View
|
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/media-descriptor-syntax-04-expected.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/media-descriptor-syntax-05.html
|
View
|
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/media-descriptor-syntax-05-expected.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/media-descriptor-syntax-06.html
|
View
|
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/media-descriptor-syntax-06-expected.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/mq-invalid-syntax-01.html
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/mq-invalid-syntax-01-expected.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/mq-invalid-syntax-02.html
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/mq-invalid-syntax-02-expected.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/mq-invalid-syntax-03.html
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/mq-invalid-syntax-05.html
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/mq-invalid-syntax-05-expected.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/mq-js-media-except-03.html
|
View
|
|
1 chunk |
+15 lines, -13 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/mq-js-media-except-03-expected.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/mq-js-media-forward-syntax.html
|
View
|
|
1 chunk |
+7 lines, -11 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/mq-js-media-forward-syntax-expected.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/mq-js-stylesheet-media-01.html
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/mq-js-stylesheet-media-01-expected.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/mq-js-stylesheet-media-02.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/media/mq-js-stylesheet-media-02-expected.html
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/css/MediaList.h
|
View
|
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/core/css/MediaList.cpp
|
View
|
1
|
3 chunks |
+12 lines, -42 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/DOMImplementation.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
|
Source/core/dom/StyleElement.cpp
|
View
|
1
|
1 chunk |
+1 line, -5 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLLinkElement.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLMediaElement.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLStyleElement.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/parser/HTMLResourcePreloader.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|