Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InlineBox mistook as BlockBox #47

Open
changbaishan opened this issue Sep 17, 2018 · 1 comment
Open

InlineBox mistook as BlockBox #47

changbaishan opened this issue Sep 17, 2018 · 1 comment

Comments

@changbaishan
Copy link

here is a stack dump:

Exception in thread "main" java.lang.ClassCastException: org.fit.cssbox.layout.InlineBox cannot be cast to org.fit.cssbox.layout.BlockBox
at org.fit.cssbox.layout.BlockBox.computeEfficientMargins(BlockBox.java:749)
at org.fit.cssbox.layout.ElementBox.initSubtree(ElementBox.java:295)
at org.fit.cssbox.layout.Viewport.initSubtree(Viewport.java:145)
at org.fit.cssbox.layout.BrowserCanvas.createLayout(BrowserCanvas.java:172)
at org.fit.cssbox.layout.BrowserCanvas.createLayout(BrowserCanvas.java:142)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@changbaishan and others