Skip to content

[SVG] Remove support of width and height as presentation attributes on nested <svg> elements#59086

Draft
chromium-wpt-export-bot wants to merge 1 commit intomasterfrom
chromium-export-cl-7703544
Draft

[SVG] Remove support of width and height as presentation attributes on nested <svg> elements#59086
chromium-wpt-export-bot wants to merge 1 commit intomasterfrom
chromium-export-cl-7703544

Conversation

@chromium-wpt-export-bot
Copy link
Copy Markdown
Collaborator

Per the SVG WG resolution for the issue [1] and the spec update
[2], CSS width and height properties are honored as presentation
attributes only for <rect>, <image>, <foreignObject>, and outer-SVG
elements. For nested <svg>, it means width and height properties
do not apply as CSS properties now.

This CL reverts the changes from CL:6573214 which added CSS width/
height support on nested <svg>.

This CL also contains changes to relevant WPTs such that they do
not honour CSS width and height for nested/inner <svg>.

[1] w3c/svgwg#1057
[2] w3c/svgwg#1059

Bug: 40409865, 41105358
Change-Id: I2e6bacee63f0079f921d7366a2750a0418415cbc
Reviewed-on: https://chromium-review.googlesource.com/7703544
WPT-Export-Revision: 227758bc7f00a361dd8e4c87d5c10821aa298b2b

attributes on nested <svg> elements

Per the SVG WG resolution for the issue [1] and the spec update
[2], CSS `width` and `height` properties are honored as presentation
attributes only for <rect>, <image>, <foreignObject>, and outer-SVG
elements. For nested <svg>, it means width and height properties
do not apply as CSS properties now.

This CL reverts the changes from CL:6573214 which added CSS width/
height support on nested <svg>.

This CL also contains changes to relevant WPTs such that they do
not honour CSS width and height for nested/inner <svg>.

[1] w3c/svgwg#1057
[2] w3c/svgwg#1059

Bug: 40409865, 41105358
Change-Id: I2e6bacee63f0079f921d7366a2750a0418415cbc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant