Opened 12 years ago
Last modified 3 years ago
#9728 reopened bug
Webkit: missing text-shadow, box-shadow support, broken border-radius support
Reported by: | dsjonny | Owned by: | leavengood |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Kits/Web Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | #7407 | Blocking: | |
Platform: | All |
Attachments (3)
Change History (16)
by , 12 years ago
by , 12 years ago
Attachment: | webpositive.png added |
---|
comment:2 by , 12 years ago
Blocked By: | 7407 added |
---|
The box-shadow issue problems are already tracked in ticket #7407.
comment:4 by , 11 years ago
Summary: | WebPositive: missing/wrong CSS properties → WebPositive: missing text-shadow, box-shadow support, broken border-radius support |
---|
comment:6 by , 6 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
No reply, and the major issue was tracked and fixed in a separate ticket.
comment:7 by , 6 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Shadows are still not implemented.
comment:8 by , 6 years ago
Unfortunatelly I have less time for Haiku, but now put the latest nightly anyboot (hrev52824) image to Hyper-V and checked one of my latest website (fonalfeszek.hu) and some CSS not working instead of other browsers:
- opacity != 1
- @font-face
- box-shadow
It would be a big help if I can use developer/debugger tools in the browser.
comment:9 by , 4 years ago
Component: | Applications/WebPositive → Kits/Web Kit |
---|---|
Summary: | WebPositive: missing text-shadow, box-shadow support, broken border-radius support → Webkit: missing text-shadow, box-shadow support, broken border-radius support |
comment:10 by , 4 years ago
comment:11 by , 4 years ago
This should be implemented in GraphicsContextHaiku: https://github.com/haiku/webkit/blob/rebased/Source/WebCore/platform/graphics/haiku/GraphicsContextHaiku.cpp#L288
The specific lines I linked should simply be re-enabled since we now have support for the composite operators.
Similar things should be done in various other places in the GraphicsContext implementatiom, using the other platform implementations as a reference. Searching for "shadowstate" in https://github.com/haiku/webkit/blob/rebased/Source/WebCore/platform/graphics/cairo/GraphicsContextImplCairo.cpp gives a good idea of where shadows are needed.
comment:12 by , 4 years ago
The specific lines I linked should simply be re-enabled since we now have support for the composite operators.
It don't compile anymore. ShadowBlur::drawRectShadow
API was changed.
by , 3 years ago
Attachment: | rounded-rect.patch added |
---|
unrelated border-radius patch: the background of a box with border-radius has bottom left corner use bottom-right radius for its y-radius while x-radius and border stroke are correct. Otherwise I think border-radius looks perfect these days...
comment:13 by , 3 years ago
I merged your patch. I agree border-radius is done now, but the other problems in this ticket are still here.
The "legend" border is still wrong (the label is striked out):