Title: [201666] trunk
Revision
201666
Author
[email protected]
Date
2016-06-03 15:47:17 -0700 (Fri, 03 Jun 2016)

Log Message

Incorrect rendering on boostmobile FAQ page
https://bugs.webkit.org/show_bug.cgi?id=158303
<rdar://problem/26603462>

Reviewed by Chris Dumez.

Initial value for background-color is 'transparent'. see https://drafts.csswg.org/css-backgrounds-3/#background-color

Source/WebCore:

Test: fast/selectors/non-visited-link-backround-color.html

* css/CSSPropertyNames.in:

LayoutTests:

* fast/selectors/non-visited-link-backround-color-expected.html: Added.
* fast/selectors/non-visited-link-backround-color.html: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (201665 => 201666)


--- trunk/LayoutTests/ChangeLog	2016-06-03 22:31:02 UTC (rev 201665)
+++ trunk/LayoutTests/ChangeLog	2016-06-03 22:47:17 UTC (rev 201666)
@@ -1,3 +1,16 @@
+2016-06-03  Zalan Bujtas  <[email protected]>
+
+        Incorrect rendering on boostmobile FAQ page
+        https://bugs.webkit.org/show_bug.cgi?id=158303
+        <rdar://problem/26603462>
+
+        Reviewed by Chris Dumez.
+
+        Initial value for background-color is 'transparent'. see https://drafts.csswg.org/css-backgrounds-3/#background-color
+
+        * fast/selectors/non-visited-link-backround-color-expected.html: Added.
+        * fast/selectors/non-visited-link-backround-color.html: Added.
+
 2016-06-03  Chris Dumez  <[email protected]>
 
         CanvasRenderingContext2D.createPattern() / putImageData() throw wrong exception type

Added: trunk/LayoutTests/fast/selectors/non-visited-link-backround-color-expected.html (0 => 201666)


--- trunk/LayoutTests/fast/selectors/non-visited-link-backround-color-expected.html	                        (rev 0)
+++ trunk/LayoutTests/fast/selectors/non-visited-link-backround-color-expected.html	2016-06-03 22:47:17 UTC (rev 201666)
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>This tests that we set the proper background color on the not-yet-visited link.</title>
+<style>
+  div {
+    width: 100px;
+    height: 100px;
+    background: green;
+  }
+</style>
+</head>
+<body>
+<div></div> 
+</body>
+</html>

Added: trunk/LayoutTests/fast/selectors/non-visited-link-backround-color.html (0 => 201666)


--- trunk/LayoutTests/fast/selectors/non-visited-link-backround-color.html	                        (rev 0)
+++ trunk/LayoutTests/fast/selectors/non-visited-link-backround-color.html	2016-06-03 22:47:17 UTC (rev 201666)
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+<title>This tests that we set the proper background color on the not-yet-visited link.</title>
+<style>
+  a {
+    display: block;
+    width: 100px;
+    height: 100px;
+    background: border-box;
+  }
+
+  a:link {
+    background: green;
+ }
+</style>
+</head>
+<body>
+<a href="" 
+</body>
+</html>

Modified: trunk/Source/WebCore/ChangeLog (201665 => 201666)


--- trunk/Source/WebCore/ChangeLog	2016-06-03 22:31:02 UTC (rev 201665)
+++ trunk/Source/WebCore/ChangeLog	2016-06-03 22:47:17 UTC (rev 201666)
@@ -1,3 +1,17 @@
+2016-06-03  Zalan Bujtas  <[email protected]>
+
+        Incorrect rendering on boostmobile FAQ page
+        https://bugs.webkit.org/show_bug.cgi?id=158303
+        <rdar://problem/26603462>
+
+        Reviewed by Chris Dumez.
+
+        Initial value for background-color is 'transparent'. see https://drafts.csswg.org/css-backgrounds-3/#background-color
+
+        Test: fast/selectors/non-visited-link-backround-color.html
+
+        * css/CSSPropertyNames.in:
+
 2016-06-03  Brady Eidson  <[email protected]>
 
         More miscellaneous IDBBindingUtilities cleanup.

Modified: trunk/Source/WebCore/css/CSSPropertyNames.in (201665 => 201666)


--- trunk/Source/WebCore/css/CSSPropertyNames.in	2016-06-03 22:31:02 UTC (rev 201665)
+++ trunk/Source/WebCore/css/CSSPropertyNames.in	2016-06-03 22:47:17 UTC (rev 201666)
@@ -145,7 +145,7 @@
 background-attachment [FillLayerProperty, NameForMethods=Attachment]
 background-blend-mode [FillLayerProperty, NameForMethods=BlendMode]
 background-clip [FillLayerProperty, NameForMethods=Clip]
-background-color [VisitedLinkColorSupport, Initial=invalidColor, NoDefaultColor]
+background-color [VisitedLinkColorSupport, NoDefaultColor]
 background-image [FillLayerProperty, NameForMethods=Image]
 background-origin [FillLayerProperty, NameForMethods=Origin]
 background-position [Longhands=background-position-x|background-position-y]
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to