Skip to content

Commit

Permalink
SVG title should have display: none as the default UA style rule.
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=268587

Reviewed by Cameron McCormack.

Added a UA style rule for SVG title element.

* Source/WebCore/css/svg.css:
(title):

Canonical link: https://commits.webkit.org/273991@main
  • Loading branch information
rniwa authored and Ahmad Saleem committed Feb 2, 2024
1 parent 4ef7522 commit 86863f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/WebCore/css/svg.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ svg:root {
height: 100%
}

title {
display: none;
}

text, foreignObject {
display: block
}
Expand Down

0 comments on commit 86863f4

Please sign in to comment.