You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title says currently in trying to implement these two huge features.
First of all I already added support for ::before and ::after pseudo elements and now I have to implement inline layout.
After that I can start working on scrollbars which would probably need to change layout service implementation.
So far, I've found an issue with the layout engine that's causing it to handle mixed content incorrectly. As well there could be a potential issue in FontServiceImpl which requires additional verification.
If you have some ideas on how layout engine should work to add scrollbar support - please left some comments. I'll share my thoughts on how to implement it in the next post.
P.S. I'll add more examples of what was done next day.
At the screenshot below, you can see the current state.
Currently, generated pseudo-elements created with "display: block" style, as at the moment "display: inline" is not supported.
Layout code:
<winframe>
<divclass="wrapper"style="border-color:cyan">
<divclass="c1">c1
<divclass="c11"id='c11'>c11 Cfjg</div>
<divclass="c12">c12</div>
</div>
<divclass="text">
Hello world. Lorem ipsum dolor.
Hello world. Lorem ipsum dolor.
Hello world. Lorem ipsum dolor.s
Hello World
</div>
<divclass='twrapper'style="border-color: pink">
<divclass='twrapper'style="border-color: blue">
<divclass="text"id='t2'style="border-color: black">
Hello world. Lorem ipsum dolor. Hello world A. Lorem ipsum dolor. Hello world. Lorem ipsum dolor. Hello world A. Lorem ipsum dolor.
<div>Hello world B. Lorem ipsum dolor.</div>
Hello world. Lorem ipsum dolor. Hello world A. Lorem ipsum dolor. Hello world. Lorem ipsum dolor. Hello world A. Lorem ipsum dolor.
</div>
</div>
</div>
<divclass="c2">
<divclass="s">s1</div>
<divclass="s">s2</div>
</div>
</div>
</winframe>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
As the title says currently in trying to implement these two huge features.
First of all I already added support for
::beforeand::afterpseudo elements and now I have to implement inline layout.After that I can start working on scrollbars which would probably need to change layout service implementation.
So far, I've found an issue with the layout engine that's causing it to handle mixed content incorrectly. As well there could be a potential issue in
FontServiceImplwhich requires additional verification.If you have some ideas on how layout engine should work to add scrollbar support - please left some comments. I'll share my thoughts on how to implement it in the next post.
P.S. I'll add more examples of what was done next day.
All reactions