|
Implementation of CSS3 nav-up/down/left/right properties from CSS3 UI.
( http://dev.w3.org/csswg/css-ui/#nav-dir)
The CSS parser and RenderStyle is extended to to keep the information about CSS nav-* properties for HTML elements. The ID of element in current and other frames can be set as well as a special value "auto".
This patch reuses fragments of similar WebKit patch submitted by Kyounga Ra:
https://bugs.webkit.org/show_bug.cgi?id=66027
Note that spatial navigation feature (see https://codereview.chromium.org/13811041 and https://codereview.chromium.org/14110006) needs to be enabled for this patch to be effective.
Info on tests:
Opera has agreed to submit tests to the CSS-WG and the WG has agreed to keep these properties in if tests are submitted.
The layout test to validate the added properties is also a part of this patch.
BUG=
Total comments: 28
Total comments: 28
Total comments: 42
Total comments: 16
Total comments: 9
Total comments: 17
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+593 lines, -2 lines) |
Patch |
 |
A |
LayoutTests/fast/spatial-navigation/snav-css-nav-direction.html
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+114 lines, -0 lines |
1 comment
|
Download
|
 |
A |
LayoutTests/fast/spatial-navigation/snav-css-nav-direction-expected.txt
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/core.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSCalculationValue.cpp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSComputedStyleDeclaration.cpp
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+54 lines, -0 lines |
2 comments
|
Download
|
 |
M |
Source/core/css/CSSPrimitiveValue.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSPrimitiveValue.cpp
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSProperties.in
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
1 comment
|
Download
|
 |
M |
Source/core/css/CSSValueKeywords.in
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/parser/BisonCSSParser-in.cpp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+5 lines, -0 lines |
1 comment
|
Download
|
 |
M |
Source/core/css/parser/CSSGrammar.y
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/parser/CSSPropertyParser.cpp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+34 lines, -0 lines |
4 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleBuilderConverter.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleBuilderConverter.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+24 lines, -0 lines |
4 comments
|
Download
|
 |
M |
Source/core/frame/UseCounter.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/page/EventHandler.cpp
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/page/FocusController.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/page/FocusController.cpp
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+74 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/style/RenderStyle.h
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/style/RenderStyle.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/style/RenderStyleConstants.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
1 comment
|
Download
|
 |
A |
Source/core/rendering/style/StyleNavigationData.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+68 lines, -0 lines |
0 comments
|
Download
|
 |
A |
Source/core/rendering/style/StyleNavigationData.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+41 lines, -0 lines |
2 comments
|
Download
|
 |
A |
Source/core/rendering/style/StyleNavigationValue.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+80 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/style/StyleRareNonInheritedData.h
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+4 lines, -0 lines |
1 comment
|
Download
|
 |
M |
Source/core/rendering/style/StyleRareNonInheritedData.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 28 (2 generated)
|