Closed Bug 315250 Opened 19 years ago Closed 18 years ago

"Attempt to use inaccessible property Error in parsing value for property" is confusing wording

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: dbaron)

References

()

Details

(Whiteboard: [patch])

Attachments

(1 file)

Steps to reproduce:
1. Load a page containing <style>* { margin-left-value: 5; }</style>

Result: "Error: Attempt to use inaccessible property Error in parsing value for property 'margin-left-value'."

Expected: An error message that's easier to understand or at least easier to parse into English.  "Error: Attempt to use inaccessible property 'margin-left-value'." would work.
As a simple fix, we could put a '.' after "inaccessible property".
Flags: blocking1.9?
Flags: blocking1.9?
Whiteboard: [wanted-1.9]
Status: NEW → ASSIGNED
OS: Mac OS X → All
Hardware: Macintosh → All
Whiteboard: [wanted-1.9] → [wanted-1.9][patch]
Attached patch patchSplinter Review
This also renames two property names whose strings were previously changed, to force retranslation by those locales that didn't already.
Attachment #252409 - Flags: superreview?(bzbarsky)
Attachment #252409 - Flags: review?(bzbarsky)
What does it mean for a property to be inaccessible?
That you can't actually set it?  Should I say "internal property" instead?
Ahh.  Yes, that would be better.
In my tree I've changed it to "Cannot specify value for internal property."
Comment on attachment 252409 [details] [diff] [review]
patch

Sounds great, with the new wording
Attachment #252409 - Flags: superreview?(bzbarsky)
Attachment #252409 - Flags: superreview+
Attachment #252409 - Flags: review?(bzbarsky)
Attachment #252409 - Flags: review+
Checked in to trunk.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Flags: wanted1.9+
Whiteboard: [wanted-1.9][patch] → [patch]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: