New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added the SVG reference and some notes for CSS restrictions #1627
Conversation
The SVG That HTML also has a |
I think we should state more generally that authoring restrictions are not applicable to reading systems, as the CSS properties are only one case of restrictions we impose on HTML, MathML, SVG, etc. I was thinking after the call we should probably have a statement more like the following somewhere:
(Bolding's sort of a polite way of screaming to do what you please.) Maybe this could float at the start of the content documents section, or maybe it would be better to incorporate into a section on authoring restrictions? |
There is something strange happening that I do not understand. I see no definition for the Is our requirement for the SVG case something like:
Knowing that I cannot put a normative reference to an SVG reference to the I may miss something fundamental... |
I actually like that, is it more future proof. It may be put into §4 before §4.1. |
@mattgarrish, I have adopted your proposed change in dd58c50. However, I have not used the boldface; I do not think we use that type of typesetting trick elsewhere in the document, so it looked a bit out of place… |
Right, the formal process of using css properties as attributes is defined under "presentation attributes". For all the listed CSS properties there are equivalent svg attributes. The attribute are exact mappings to the css properties, which is why I don't believe we need to worry about That's why they just talk about the "property" but then use it as an attribute. You could always link to the presentation attribute section, I suppose, as someone can find their way from there to the definition. |
Oh, come on, take a walk on the wild side... :) (Never say never... although I thought we had more.) |
move authoring guidance to note
On the SVG bi-di stuff: here is what I have just committed for that item:
How does that sound? |
O.k., you win :-) |
@mattgarrish I have finalized the stuff (essentially rolling back my last commit and modifying a little bit the note you provided). |
This is a PR for #1614 (and for the corresponding WG resolution).
direction
attribute (to be used instead of the CSSdirection
property). I had to rephrase the bullet item texts to make it a bit more readableOne discrepancy I encountered is that there seems to be no equivalent to a
bidi
element in SVG2. Ie, the restriction on theunicode-bidi
CSS property does not apply to SVG2.(I may have misunderstood something. Maybe @fantasai can help out on this.)
Preview | Diff