Skip to content

Commit eee084c

Browse files
committed
[css4-images] Add some issues to element().
1 parent e71bf63 commit eee084c

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

css4-images/Overview.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,9 @@ <h3 id=element-notation><span class=secno>3.4. </span> Using Elements as
918918
as a background-image on the element or in a pseudo-element. This needs to
919919
be specially-handled to avoid triggering the cycle-detection.
920920

921+
<p class=issue> When we have overflow:paged, how can we address a single
922+
page in the view?
923+
921924
<p> The ‘<code class=css>element()</code>’ function references the
922925
element matched by its argument. If multiple elements are matched, the
923926
function references the first such element.
@@ -958,6 +961,12 @@ <h3 id=element-notation><span class=secno>3.4. </span> Using Elements as
958961
so that the edges of the <a href="#decorated-bounding-box"><i>decorated
959962
bounding box</i></a> are flush with the edges of the image.
960963

964+
<p class=issue> Requiring some degree of stacking context on the element
965+
appears to be required for an efficient implementation. Do we need a
966+
full stacking context, or just a pseudo-stacking context? Should it need
967+
to be a stacking context normally, or can we just render it as a
968+
stacking context when rendering it to element()?
969+
961970
<p> If the referenced element has a transform applied to it or an
962971
ancestor, the transform must be ignored when rendering the element as an
963972
image. [[!CSS-TRANSFORMS]]

css4-images/Overview.src.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,10 @@ <h3 id='element-notation'>
648648
either as a background-image on the element or in a pseudo-element.
649649
This needs to be specially-handled to avoid triggering the cycle-detection.
650650

651+
<p class='issue'>
652+
When we have overflow:paged,
653+
how can we address a single page in the view?
654+
651655
<p>
652656
The ''element()'' function references the element matched by its argument.
653657
If multiple elements are matched,
@@ -685,6 +689,12 @@ <h3 id='element-notation'>
685689
over an infinite ''transparent'' canvas,
686690
positioned so that the edges of the <i>decorated bounding box</i> are flush with the edges of the image.
687691

692+
<p class='issue'>
693+
Requiring some degree of stacking context on the element appears to be required for an efficient implementation.
694+
Do we need a full stacking context, or just a pseudo-stacking context?
695+
Should it need to be a stacking context normally,
696+
or can we just render it as a stacking context when rendering it to element()?
697+
688698
<p>
689699
If the referenced element has a transform applied to it or an ancestor,
690700
the transform must be ignored when rendering the element as an image. [[!CSS-TRANSFORMS]]

0 commit comments

Comments
 (0)