|
Always propagate direction and writing-mode from <body>.
Even though the specification says that direction/writing-mode are *not* to
be propagated from <body>, all major browsers currently do this.
In Blink, when opposing direction/writing-modes are explicitly set on both the
root element and <body>, the direction/writing-mode of the root element is
propagated to the view, ignoring what is specified on <body>. This is different
from Firefox and IE, where the direction/writing-mode is always propagated from
the computed style of <body>.
This patch aligns Blink's behavior to that of Firefox and IE, such that
we always propagate from <body>.
R=rune@opera.com
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=186115
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+166 lines, -63 lines) |
Patch |
|
A |
LayoutTests/fast/writing-mode/absolute-overconstrained-direction.html
|
View
|
1
2
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/writing-mode/absolute-overconstrained-direction-expected.html
|
View
|
1
2
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/writing-mode/absolute-overconstrained-writing-mode.html
|
View
|
1
2
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/writing-mode/absolute-overconstrained-writing-mode-expected.html
|
View
|
1
2
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/writing-mode/body-direction-propagation.html
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
D |
LayoutTests/fast/writing-mode/body-direction-propagation-blocked.html
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
D |
LayoutTests/fast/writing-mode/body-direction-propagation-blocked-expected.png
|
View
|
1
|
Binary file |
0 comments
|
Download
|
|
D |
LayoutTests/fast/writing-mode/body-direction-propagation-blocked-expected.txt
|
View
|
1
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/writing-mode/body-direction-propagation-expected.html
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
D |
LayoutTests/fast/writing-mode/body-direction-propagation-expected.png
|
View
|
1
|
Binary file |
0 comments
|
Download
|
|
D |
LayoutTests/fast/writing-mode/body-direction-propagation-expected.txt
|
View
|
1
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/writing-mode/body-writing-mode-propagation.html
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
D |
LayoutTests/fast/writing-mode/body-writing-mode-propagation-blocked.html
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
D |
LayoutTests/fast/writing-mode/body-writing-mode-propagation-blocked-expected.png
|
View
|
1
|
Binary file |
0 comments
|
Download
|
|
D |
LayoutTests/fast/writing-mode/body-writing-mode-propagation-blocked-expected.txt
|
View
|
1
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/writing-mode/body-writing-mode-propagation-expected.html
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
D |
LayoutTests/fast/writing-mode/body-writing-mode-propagation-expected.png
|
View
|
1
|
Binary file |
0 comments
|
Download
|
|
D |
LayoutTests/fast/writing-mode/body-writing-mode-propagation-expected.txt
|
View
|
1
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/writing-mode/html-and-body-direction-propagation.html
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/writing-mode/html-and-body-direction-propagation-expected.html
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/writing-mode/html-and-body-writing-mode-propagation.html
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/writing-mode/html-and-body-writing-mode-propagation-expected.html
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/writing-mode/html-direction-propagation.html
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/writing-mode/html-direction-propagation-expected.html
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/writing-mode/html-writing-mode-propagation.html
|
View
|
1
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/writing-mode/html-writing-mode-propagation-expected.html
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/writing-mode/xhtml-no-body-propagation-direction.xml
|
View
|
1
2
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/writing-mode/xhtml-no-body-propagation-direction-expected.xml
|
View
|
1
2
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/writing-mode/xhtml-no-body-propagation-writing-mode.xml
|
View
|
1
2
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/writing-mode/xhtml-no-body-propagation-writing-mode-expected.xml
|
View
|
1
2
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/resolver/MatchedPropertiesCache.cpp
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/css/resolver/StyleBuilderCustom.cpp
|
View
|
|
2 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/css/resolver/StyleResolver.cpp
|
View
|
|
4 chunks |
+0 lines, -11 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Document.h
|
View
|
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Document.cpp
|
View
|
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
Total messages: 17 (1 generated)
|