Skip to content

Commit d8dfa82

Browse files
committed
[css-sizing-3] Improve priv-sec section.
1 parent e352793 commit d8dfa82

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

css-sizing-3/Overview.bs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1380,4 +1380,16 @@ Acknowledgments</h2>
13801380
<h2 class=no-num id=priv-sec>
13811381
Privacy and Security Considerations</h2>
13821382

1383-
This specification introduces no new privacy or security considerations.
1383+
In order to support automatic layout,
1384+
CSS sizes boxes to fit their contents.
1385+
In conjunction with various [[DOM]] and [[CSSOM]] APIs
1386+
which can return the size of those boxes to script,
1387+
this can expose information about those contents.
1388+
However, this information is more directly and easily available
1389+
by inspecting the DOM for the contents,
1390+
rather than indirecting through the box’s size.
1391+
Containers that can't have their contents inspected
1392+
(such as cross-origin <{iframe}>s)
1393+
also do not expose sizing information to the outer page,
1394+
except insofar as [=replaced elements=] such as images
1395+
expose their natural size and/or aspect ratio.

0 commit comments

Comments
 (0)