W3C home > Mailing lists > Public > public-css-bugzilla@w3.org > July 2012

[Bug 18344] Appendix E imprecise about background propagation to canvas

From: <bugzilla@jessica.w3.org>
Date: Fri, 20 Jul 2012 15:18:36 +0000
Message-Id: <E1SsEyS-0000Ua-As@jessica.w3.org>
To: public-css-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18344

--- Comment #2 from Anton P <antonsforums@yahoo.co.uk> 2012-07-20 15:18:36 UTC ---
Proposal A:

In E.2, prepend the following existing prose:

   # The painting order for the descendants of an element generating a
   # stacking context (see the 'z-index' property) is:
   #
   # 1. If the element is a root element:
   #    1. background color of element over the entire canvas.
   #    2. background image of element, over the entire canvas, anchored
   #       at the origin that would be used if it was painted for the
   #       root element.

with:

   | The background color and image of a child element of a root
   | element is sometimes painted over the entire canvas instead of that
   | of the root element itself.  This happens _in some situations with
   | HTML and XHTML documents_<link to 14.2>.  When this happens, no
   | background is painted for that child element.  User agents must
   | apply these rules instead of the ones below whenever the
   | latter concern the elements and backgrounds in question.

In E.3 (Notes), delete:

   # The background of the root element is only painted once, over the
   # whole canvas.


Note: the editorial device used in this proposal (that of explicitly 
discussing background propagation prior to the painting order algorithm 
whilst leaving the algorithm written in a manner which focuses the more 
typical general case) is deliberate, since it aids the proposal for Bug 17782.

Proposal: http://lists.w3.org/Archives/Public/www-style/2012Jul/0478.html

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 20 July 2012 15:18:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 20 July 2012 15:18:41 GMT