-
Notifications
You must be signed in to change notification settings - Fork 717
[css2][css-display-3] Remove "display:run-in" from CSS #9784
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
Comments
Some relevant spec sections where |
The latest (vague, handwavy) definition of run-in is in the 2008 CSS2 Recommendation
That is it, the entire definition. |
I think there's a more-recent and somewhat-more-complete definition/explanation in css-display-3 chapter 5 That's the main chunk that would want removing, if we do decide to remove this. (Though maybe there is/was active implementation and usage in non-browser-engines per #339?) |
It would be great to have a list of those non-browser implementations, what particular vintage of the spec they are based on, and which particular parts they actually implement. And any tests, even manual visual ones, together with test results. I say this because if there are 2+ interoperable implementations then extending/replacing the functionality is different to the case where each implementation does it's own thing and the CSS is effectively engine-specific. |
The latest version of Prince, 15.2, still supports this. Their documentation just mentions the syntax, with no details about the implementation. |
If I remember correctly, Presto/Opera had a decent implementation at the time. |
Spec fiction doesn't help anyone, but I think this is a useful feature, have wished for it in the past when making web sites, and I'd like for it to be widely implemented. This is commonly seen in Japanese typography, as discussed in JLREQ: https://www.w3.org/TR/jlreq/#processing_of_runin_heading Outside of Japanese typography, I'd say Example 6 from the Display spec is also a perfectly legitimate use of the feature.
I'm not sure I understand in what way HTML is incompatible with this, or in what way the feature could be redesigned to be more aligned with HTML <h4>Some Heading</h4>
<p>Lorem ipsum… is definitely the markup you would expect in these Japanese examples. The choice to display the heading as run-in is purely stylistic, and if not displayed as run-in, ordinary block layout does the right thing. Would some subtle change in how it's defined make it more easily implementable, while maintaining it's main purpose? I'd like that more than dropping it. |
tl;dr: could we remove display:run-in from CSS specs, to reflect reality?
See https://bugzilla.mozilla.org/show_bug.cgi?id=2056#c97 for some background. As Joe Walker noted there (emphasis added):
CC @fantasai @tabatkins @tantek @emilio
The text was updated successfully, but these errors were encountered: