- From: Alexis Menard <alexis.menard@openbossa.org>
- Date: Tue, 31 Jan 2012 08:15:36 -0300
- To: www-style@w3.org
Hi, I didn't get any answer so I'm starting to wonder why. Did I forgot to prefix the subject or something else? Thank you. On Wed, Jan 25, 2012 at 3:05 PM, Alexis Menard <alexis.menard@openbossa.org> wrote: > Hi, > > I have some question related to the length of the style property of a > given element. I couldn't find something related to it in the CSS spec > (if there is please link it to me and I apologize for the noise). > > A bit of context : > > I'm trying to fix https://bugs.webkit.org/show_bug.cgi?id=73002 where > WebKit behaves inconsistently for shorthand and the length of the > style depending what you set on it. > > element.style.cssText = "border: 0;" and element.style.cssText = > "border: inherit;" are not returning the same "element.style.length" > > Opera and Firefox are returning something consistent for the length if > you set initial, inherit, or any value. WebKit doesn't. > > Now my questions are the following ones : > > Should we expand the longhands when initial or inherit is set on a shorthand? > > Should the shorthands be part of the list of properties of the style, > so part of the count/length? > > When I set initial to a shorthand will it mean that the longhands will > have initial implicitely set or would it be explicitely? > > Thanks for the answers. > > -- > Alexis Menard (darktears) > Software Engineer > INdT Recife Brazil -- Alexis Menard (darktears) Software Engineer INdT Recife Brazil
Received on Tuesday, 31 January 2012 11:16:12 UTC