-
Notifications
You must be signed in to change notification settings - Fork 759
Open
Labels
css-contain-2Current WorkCurrent Work
Description
From my current interpretation content-visibility does not apply to most SVG elements since content-visibility applies to
"elements for which [size containment] can apply" (https://drafts.csswg.org/css-contain/#content-visibility)
and (size) contain has a special rule about applying to svg:
"In addition, in the case of [SVG2], the contain property only applies to svg elements that have an associated CSS layout box."
(https://drafts.csswg.org/css-contain/#contain-applies)
So, would that be just outer <svg> and <foreignObject> elements?
I am willing to write some WPT tests for this since I don't think this is actually tested on SVG elements at this time.
nikolaszimmermann
Metadata
Metadata
Assignees
Labels
css-contain-2Current WorkCurrent Work