Skip to content
Permalink
Browse files
simpleUserAgentStyleSheet doesn't have focus ring on anchor element
  • Loading branch information
rniwa committed Nov 6, 2013
1 parent 459d09e commit b5aafe752a73d2835956fea319245be68772b798
Showing 2 changed files with 12 additions and 1 deletion.
@@ -1,3 +1,14 @@
2013-11-05 Ryosuke Niwa <rniwa@webkit.org>

simpleUserAgentStyleSheet doesn't have focus ring on anchor element
https://bugs.webkit.org/show_bug.cgi?id=123867

Reviewed by Andreas Kling.

Merge https://chromium.googlesource.com/chromium/blink/+/08ecc23c4d80be9969918c4baf0ac83dc6cb6cbd

* css/CSSDefaultStyleSheets.cpp:

2013-11-05 Ryosuke Niwa <rniwa@webkit.org>

valueForBorderRadiusShorthand returns wrong values in some case
@@ -59,7 +59,7 @@ StyleSheetContents* CSSDefaultStyleSheets::fullscreenStyleSheet;
StyleSheetContents* CSSDefaultStyleSheets::plugInsStyleSheet;

// FIXME: It would be nice to use some mechanism that guarantees this is in sync with the real UA stylesheet.
static const char* simpleUserAgentStyleSheet = "html,body,div{display:block}head{display:none}body{margin:8px}div:focus,span:focus{outline:auto 5px -webkit-focus-ring-color}a:-webkit-any-link{color:-webkit-link;text-decoration:underline}a:-webkit-any-link:active{color:-webkit-activelink}";
static const char* simpleUserAgentStyleSheet = "html,body,div{display:block}head{display:none}body{margin:8px}div:focus,span:focus,a:focus{outline:auto 5px -webkit-focus-ring-color}a:-webkit-any-link{color:-webkit-link;text-decoration:underline}a:-webkit-any-link:active{color:-webkit-activelink}";

static inline bool elementCanUseSimpleDefaultStyle(Element* e)
{

0 comments on commit b5aafe7

Please sign in to comment.