Re: Should minimal contentEditable default text input (was: contentEditable=minimal)

On Mon, May 26, 2014 at 4:17 AM, Yoshifumi Inoue <yosin@chromium.org> wrote:
> Range.style is cool idea! I assume Range.detach() removes styles added
> Range.style.

detach() is a no-op. http://dom.spec.whatwg.org/#dom-range-detach


> To implement text composition with this, I would like to have "wave
> underline", "dotted underline", "thick underline" etc.

Range.prototype.style seems complex in the context of overlapping
ranges and such. Suddenly you're no longer applying CSS to a tree.


-- 
http://annevankesteren.nl/

Received on Monday, 26 May 2014 08:25:49 UTC