Closed Bug 740049 Opened 12 years ago Closed 12 years ago

Fix CSS warnings in TBPL

Categories

(Tree Management Graveyard :: TBPL, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mbrubeck, Assigned: mbrubeck)

References

Details

Attachments

(2 files)

These are mostly harmless.  The main reason I bothered is just to reduce console noise.

The first patch removes prefixed versions of properties that are now supported un-prefixed in all major browsers.  (The prefixed version is no longer supported in Gecko and generates a warning.)

The patch also fixes a minor syntax error (stray semicolon).
Attachment #610197 - Flags: review?(arpad.borsos)
CSS transitions are not yet standardized, so the unprefixed property names are not yet supported and generate warnings.  If the syntax changes before standardization, the current code might be incompatible with future browsers.

On the other hand, if the syntax does not change, then leaving this code in place might *improve* compatibility with future browsers.  So I'm not sure if you want to take this patch or not.

This patch also removes non-moz versions of "outline-radius" because this property is Gecko-only and there are no plans to standardize it or to support it in other browsers:
https://developer.mozilla.org/en/CSS/-moz-outline-radius
Attachment #610201 - Flags: review?(arpad.borsos)
Comment on attachment 610197 [details] [diff] [review]
1/2: Remove obsolete prefixed properties

Review of attachment 610197 [details] [diff] [review]:
-----------------------------------------------------------------

Less vendor prefixes, yay. Thanks ;-)
Attachment #610197 - Flags: review?(arpad.borsos) → review+
Comment on attachment 610201 [details] [diff] [review]
2/2: remove unprefixed versions of non-standard properties

Review of attachment 610201 [details] [diff] [review]:
-----------------------------------------------------------------

Well my personal opinion is to just stick with the not-yet-standard non-prefixed props, but I do not object to take this patch.
Attachment #610201 - Flags: review?(arpad.borsos) → review+
(In reply to Arpad Borsos (Swatinem) from comment #3)
> Well my personal opinion is to just stick with the not-yet-standard
> non-prefixed props, but I do not object to take this patch.

I'll just leave the transition-* properties alone then.  With luck they will be standardized soon.  I folded the outline-radius change into the first patch and landed them together:

https://hg.mozilla.org/users/mstange_themasta.com/tinderboxpushlog/rev/fd9000bbbe12
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Depends on: 743595
Product: Webtools → Tree Management
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: