Closed
Bug 1249944
Opened 9 years ago
Closed 9 years ago
text-indent documentation first sentence is incorrect
Categories
(Developer Documentation Graveyard :: CSS, defect, P5)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: s.mackesey, Unassigned)
References
()
Details
:: Developer Documentation Request
Request Type: Correction
Gecko Version: unspecified
Technical Contact:
:: Details
The first sentence here is:
"The text-indent property specifies how much horizontal space should be left before the beginning of the first line of the text content of an element."
This is incorrect because keywords (e.g. "hanging") can be used to make the indent apply to other lines than the first line. This is confusing enough that when I was searching for how to achieve hanging indent functionality, when I first looked at the text-indent page I figured I needed to find a solution elsewhere because of the first sentence.
Comment 1•9 years ago
|
||
It's worth noting that since the |hanging| property is experimental and not in the specification, the text is technically correct in relation to what the spec officially supports. However, I've updated the text to be more clear:
https://developer.mozilla.org/en-US/docs/Web/CSS/text-indent
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 2•9 years ago
|
||
So hanging is not in the spec and not supported by any browser? I'm curious why do we document it then? If this is indeed the case, it may only confuse the readers.
Flags: needinfo?(eshepherd)
Comment 3•9 years ago
|
||
(In reply to Jean-Yves Perrier [:teoli] from comment #2)
> So hanging is not in the spec and not supported by any browser? I'm curious
> why do we document it then? If this is indeed the case, it may only confuse
> the readers.
How did that sentence wind up in there? That's weird. It *is* in the specification. I originally wrote that sentence while inadvertently looking at an old version of the spec. Thought I'd deleted the sentence, but I guess I hadn't.
It *is* part of CSS3.
Flags: needinfo?(eshepherd)
Comment 4•9 years ago
|
||
I'm still curious about the second part, the fact that no browser support it. Is this true?
Flags: needinfo?(eshepherd)
Comment 5•9 years ago
|
||
(In reply to Jean-Yves Perrier [:teoli] from comment #4)
> I'm still curious about the second part, the fact that no browser support
> it. Is this true?
I can't find any evidence otherwise. It appears that no browsers have implemented them yet.
Flags: needinfo?(eshepherd)
Comment 6•9 years ago
|
||
So this propriety will not (for now at least) solve the OP problem ;-)
Comment 7•9 years ago
|
||
(In reply to Jean-Yves Perrier [:teoli] from comment #6)
> So this propriety will not (for now at least) solve the OP problem ;-)
Nope. Sadly. But at least the doc is less confusing when describing this technology that works in 0.0% of browsers worldwide. :)
You need to log in
before you can comment on or make changes to this bug.
Description
•