3 ms·
This bug (input field doesn't scroll automatically, but spills its text into the surrounding elements) is a good demonstration of just how many, many small deta
by perlgeek 11y ago
This bug (input field doesn't scroll automatically, but spills its text into the surrounding elements) is a good demonstration of just how many, many small details you have take care of when implementing a browser engine.
A really monumental task. The servo devs have my respect!
- oneeyedpigeon 11y agoMaybe I'm missing something hugely obvious, but shouldn't the input field be rendered using a native control which would preemptively eliminate that bug and reduce the need for rewriting code that's been written countless times before?
- dumbmatter 11y agoThere's probably many reasons, but one is that native controls don't support everything in CSS.
- Manishearth 11y agodumbmatter is correct, we can't arbitrarily style things via CSS with native controls. Eventually we do want them to look more like the controls on the platform they're running on, though.
- pcwalton 11y ago> shouldn't the input field be rendered using a native control which would preemptively eliminate that bug and reduce the need for rewriting code that's been written countless times before? Broadly speaking, native controls don't like being composited into OpenGL scenes (which are necessary for things like 3D transforms).