1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 22:45:06 +00:00
serenity/Base/res/html/misc
zhiyuang 97130a4e66 LibWeb: More correctly paint joins between borders
The refactor of the border painting mainly to handle:
1. Single border with minor border radius.
2. Different border widths and border colors joined situations.
This refactor only apply to solid border.

The main differece is to use Path.fill to paint each border,
not fill_rect anymore. There's a special case need to consider.
The Path.fill will leave shared edge blank between two borders.
To handle this, we decide to combine the borders with same color
to paint together.
2023-07-18 14:51:13 +01:00
..
css-import-relative LibWeb: Invalidate styles after CSSImportRule loads 2022-03-14 22:22:53 +01:00
ddssuite_files LibGfx: Add support for DDS images 2021-05-18 08:45:53 +01:00
gifsuite_files
jpgsuite_files
pbmsuite_files Base: Optimize a bunch of PNGs 2022-06-18 21:58:43 +04:30
pgmsuite_files
ppmsuite_files Base: Optimize a bunch of PNGs 2022-06-18 21:58:43 +04:30
targasuite_files Tests/LibGfx: Add tests for compressed TGA images 2023-01-15 12:43:03 +01:00
90s-bg.png
accent-color.html Base: Use radio button groups on accent-color demo page 2023-03-26 15:09:57 +02:00
acid1.html
acid2.html
afrag.html
alert.html
async-js.html Base: Add a test page for async functions + XMLHttpRequest 2021-11-28 13:28:01 +00:00
attr-invalidate-style.html LibWeb: Remove CSS::StyleInvalidator in favor of dirtying + lazy update 2022-02-05 22:50:39 +01:00
attributes.html Base: Add a test page for the various element attribute APIs 2021-10-17 13:51:10 +01:00
attrselectors.html Base: Expand test page for CSS attribute selectors 2021-07-31 00:18:11 +02:00
backdrop-filter.html Base: Add example backdrop-filter using saturate() 2022-10-07 13:08:24 +01:00
background-no-repeat.html
background-position-xy.html LibWeb: Create EdgeStyleValue for BackgroundPositionXY with no offset 2023-07-17 14:53:52 +01:00
background-repeat-test.html
background-repeat-x.html
background-repeat-y.html
background-repeat.html
background-repeat.png
backgrounds.html Base: Add additional test cases to backgrounds.html 2021-11-17 22:20:01 +01:00
blank-no-doctype.html
blank.html
blink.html
border-radius.html LibWeb: More correctly paint joins between borders 2023-07-18 14:51:13 +01:00
borders.html Base: Add boxes with multi-part border attributes to borders.html 2021-05-17 23:24:32 +02:00
box-shadow.html Base: Add box-shadow + border-radius HTML examples 2022-06-23 19:13:24 +01:00
br.html
button.html Base: Add a disabled button to the button.html test page 2022-11-03 19:15:43 +00:00
calc.html LibWeb: Reimplement CalculatedStyleValue as a calculation node tree 2023-04-13 09:53:47 +02:00
canvas-clip-path.html Base: Add canvas clip path test page 2023-04-09 18:42:45 +02:00
canvas-global-alpha.html LibWeb: Add initial implementation of CRC2D.globalAlpha 2023-06-18 20:31:11 +02:00
canvas-gradients.html LibWeb: Allow paint style fills for CRC2D strokes 2023-06-08 07:17:43 +02:00
canvas-path-quadratic-curve.html
canvas-path-rect.html
canvas-path.html
canvas-path2d.html Base: Add a test page for Path2D 2022-08-14 11:30:40 +02:00
canvas-patterns.html Base: Add a test page for canvas patterns 2023-02-03 20:36:21 +01:00
canvas-rotate.html
canvas.html
car.png Base: Add box-shadow + border-radius HTML examples 2022-06-23 19:13:24 +01:00
cascade-keywords.html Base: Add cascade-keywords.html test page for CSS cascade keyword values 2021-08-25 12:14:34 +02:00
checkbox.html LibWeb: Implement reverse lookup to labels from their labelable nodes 2022-02-16 19:18:57 +01:00
class-list.html Base: Add a test page for the various element classList APIs 2021-10-18 23:33:56 +02:00
clear-1.html
clip.html Base: Clean up Clip test page after absolutely positioned divs fix 2022-08-14 11:22:52 +02:00
colors.html LibWeb: Test parsing of CSS Level 4 rgb and hsl syntax 2022-06-15 19:10:43 +01:00
computed-style.html Base: Add developer's tests to computed-style.html 2021-09-14 22:02:14 +02:00
contenteditable.html
cookie.html LibSQL: Redesign heap storage to support arbitrary amounts of data 2023-04-23 18:08:17 -04:00
css-animations.html LibWeb: Fully implement CSS animation-timing-function 2023-07-13 05:10:41 +02:00
css-import-1.css LibWeb: Get CSS @import rules working in new parser 2021-07-31 00:18:11 +02:00
css-import-2.css LibWeb: Get CSS @import rules working in new parser 2021-07-31 00:18:11 +02:00
css-import-3.css LibWeb: Get CSS @import rules working in new parser 2021-07-31 00:18:11 +02:00
css-import.html LibWeb: Invalidate styles after CSSImportRule loads 2022-03-14 22:22:53 +01:00
css.html
cursor.html Base: Fix typo in cursor test page 2023-04-14 09:57:49 +02:00
custom-list-item-2.png Everywhere: Fix spelling mistakes 2022-01-07 15:44:42 +01:00
custom-list-item.png LibWeb: Implement and use ListStyleStyleValue 2021-08-14 12:45:01 +02:00
custom-properties.html LibWeb: Check recursively if CSS functions contain var() or attr() 2022-06-02 22:31:41 +02:00
data-url.html Base: Add CSS url(data:...) cases to test page 2021-07-31 00:18:11 +02:00
ddssuite.html LibGfx: Add support for DDS images 2021-05-18 08:45:53 +01:00
demo.html Base: Move fun canvas demo JavaScript to seperate file 2022-07-04 23:09:06 +02:00
display-grid.html LibWeb+Base: Fix row-height bug in Grid when there is a column gap 2023-03-10 18:20:27 +01:00
display-table.html Base: Add test page for table 2023-01-03 20:02:47 +01:00
dom.html
effects_with_opacity_and_transforms.html Base: Add paint effects with opacity/transforms HTML test cases 2022-09-25 18:37:31 +02:00
empty.html
event-bubbling-and-multiple-listeners.html
events.html LibWeb: Dispatch mouse events to topmost element instead of hit target 2022-06-05 22:31:06 +01:00
exceptions.html Base: Add test page for exceptions 2022-10-15 01:25:12 +02:00
first-child.html
first-of-type.html
flex-2.html Base: Add test page for testing weird flexbox combinations 2021-09-15 13:55:25 +02:00
flex-item-preferred-size-should-be-intrinsic-size-contribution.html LibWeb: Use preferred flex item sizes as min/max-content contribution 2022-11-05 11:42:19 +01:00
flex-order.html LibWeb: Implement flex reverse layouts 2022-04-02 19:01:14 +02:00
flex.html LibWeb: Fix sizing of flex child that has flex-basis 0 2022-03-30 21:16:47 +02:00
float-1.html
float-2.html
float-3.html
float-around-things.html LibWeb: Improve float: right behavior 2022-09-07 17:47:33 +02:00
float-stress-1.html LibWeb: Improve inline flow around floating boxes 2022-09-16 15:15:50 +02:00
float-stress-2.html LibWeb: Check both top and bottom of float position when looking for fit 2022-09-22 16:54:12 +02:00
float-stress-3.html LibWeb: Only include containing blocks in coordinate space translation 2022-09-22 16:54:12 +02:00
focus.html Base: Add a :focus/:focus-within test page 2022-03-20 17:35:31 +00:00
font-face.html Base: Add a test page for CSS font-face 2022-04-09 23:48:18 +02:00
fonts.html LibWeb+Base: Parse font-style CSS property 2022-02-20 11:50:38 +01:00
form.html
formdata.html LibWeb: Add multipart/form-data demo to formdata.html 2023-04-05 09:43:52 +01:00
fun-canvas.js Base: Move fun canvas demo JavaScript to seperate file 2022-07-04 23:09:06 +02:00
gifsuite.html
gol-wasm.html Base: Use requestAnimationFrame in Game of Life WASM demo 2021-10-07 19:13:34 +02:00
gradients.html Base: Add some repeating-radial-gradient() HTML examples 2022-12-03 09:06:51 -05:00
hover.html
html-escape-test.html
iframe-subframe.html
iframe.html
image-rendering.html LibWeb: Add support for CSS image-rendering property 2022-02-19 11:38:46 +01:00
images.html Base: Add several scaled images to test page 2021-09-20 22:18:20 +02:00
img-canvas.html
inline-block-link.html
inline-block.html
inline-node.html Base: Add page for testing styling on display: inline elements 2021-09-19 22:53:35 +02:00
innerHTML.html
innertext_textcontent.html
input.html Base: Add two more radio buttons to HTML input test page 2023-03-26 15:09:57 +02:00
is-selector.html Base: Add a test page for the CSS :is() selector 2022-03-18 11:34:02 +01:00
jpg.html
justify-content.html Base: Add a test page for the 'justify-content' CSS property 2021-07-19 18:47:09 +04:30
key-logger.html Base: Add a test page to log KeyboardEvent data 2023-07-09 06:32:20 +02:00
last-child.html
last-of-type.html
link-over-zindex-block.html
link.css
link.html
lists.html Base: Add linear-gradient list-marker demo 2022-08-08 22:39:06 +02:00
location.html
lorem.html
mandelbrot-wasm.html Base: Add a WebAssembly mandelbrot demo 2021-05-26 15:34:13 +04:30
many-buggies.html
margin-collapse-1.html
margin-collapse-2.html
margin-collapse-3.html LibWeb: Margin top collapsing between parent and first child 2022-12-30 14:21:19 +01:00
margin-collapse-4.html LibWeb: Margin bottom collapsing between parent and last child 2022-12-30 14:21:19 +01:00
media-queries.html Base: Add ratio tests to media-query test page 2022-03-07 13:42:25 +01:00
message-channel.html LibWeb: Implement basic support for MessageChannel and MessagePort 2021-09-19 22:34:44 +02:00
more-attribute-selectors.html LibWeb: More tests for attribute selectors 2022-03-29 18:53:20 +02:00
mouse-events.html Base: Add a browser test page that dumps out all mouse events 2022-02-07 13:28:59 +01:00
new-tab.html Base: Add Wiby Search To New Tab Page 2023-07-02 13:20:04 +01:00
noscript.html Base: Add a <noscript> test page 2022-03-31 17:08:38 +02:00
not-selector.html Base: Correct the :not() test page's title 2022-03-18 11:34:02 +01:00
nth-child.html LibWeb+Base: Fix An+B of foo parsing 2022-03-24 18:08:45 +01:00
nth-last-child.html Base: Add of foo tests to nth-child and nth-last-child test pages 2022-03-18 11:34:02 +01:00
nth-last-of-type.html LibWeb: Correct handling of negative step values in nth-foo() selectors 2022-03-02 17:39:57 +01:00
nth-of-type.html LibWeb: Correct handling of negative step values in nth-foo() selectors 2022-03-02 17:39:57 +01:00
old-computer.png Base: Add background-image + border-radius HTML examples 2022-06-16 10:28:07 +01:00
only-child.html
opacity.html LibWeb: Update visibility when Node was invisible before 2022-09-21 10:47:41 +01:00
overflow.html LibWeb: Implement and use OverflowStyleValue 2021-08-14 12:45:01 +02:00
padding-inline.html
palette.html
pbmsuite.html
percent-css.html
pgmsuite.html
phint.html
pngsuite_bas_png.html
pngsuite_int_png.html
pngsuite_siz_png.html
position-absolute-from-edges.html
position-absolute-top-left.html
ppmsuite.html
pre.html Base: Add a <pre> test page 2022-01-23 12:08:37 +01:00
private-element-test.html LibWeb: Implement the HostEnsureCanAddPrivateElement JS hook 2022-08-27 20:33:27 +01:00
progressbar.html Base: Remove modifications from fancy progress bar demo 2022-08-12 12:24:15 +02:00
prompt.html Base: Add a simple test page for window.prompt 2022-11-16 17:23:56 +00:00
pseudo-elements.html Base: Remove my copyright from this HTML file 2022-03-01 15:14:18 +00:00
qsa.html
radio.html
raf.html
root.html
script-preparation-test.html Base: Add a test for the early return steps of "prepare a script" 2021-10-14 10:32:13 +02:00
selectors.html
serenity-screenshot.png Base: Optimize a bunch of PNGs 2022-06-18 21:58:43 +04:30
set-timeout-and-interval.html Base: Replace setInterval test page with a more thorough timer test page 2022-03-04 19:51:26 +01:00
simple.html
small.html
storage.html Base: Add test page for Web Storage API 2022-05-28 23:54:06 +01:00
supports.html LibWeb: Implement @supports selector(.foo) 2022-02-19 19:33:54 +01:00
svg-fill-rule.html Base: Add an SVG fill-rule example page 2023-06-11 19:34:24 +02:00
svg-gradients.html LibWeb: Fix end position for objectBoundingBox SVG <radialGradient>s 2023-06-17 22:25:26 +01:00
svg-preserve-aspect-ratio.html Base: Add SVG preserveAspectRatio demo page 2023-04-17 07:32:31 +02:00
svg-transforms.html Base: Add SVG transform test page 2023-04-12 07:40:22 +02:00
svg.html Base: Use fill-opacity and stroke-opacity in SVG example 2023-05-20 08:52:19 +02:00
test-cff.woff Base: Add a test page for CSS font-face 2022-04-09 23:48:18 +02:00
test-cff.woff2 Base: Add a test page for CSS font-face 2022-04-09 23:48:18 +02:00
test-truetype.woff Base: Add a test page for CSS font-face 2022-04-09 23:48:18 +02:00
test-truetype.woff2 Base: Add a test page for CSS font-face 2022-04-09 23:48:18 +02:00
test.otf Base: Add a test page for CSS font-face 2022-04-09 23:48:18 +02:00
test.ttf Base: Add a test page for CSS font-face 2022-04-09 23:48:18 +02:00
text-decoration.html LibWeb: Allow multiple text-decoration-lines 2022-04-14 21:54:10 +02:00
text-shadow.html Base: Add a text-shadow test page 2022-03-24 18:08:34 +01:00
textarea.html LibWeb: Add some default style for <textarea> elements and a test 2022-03-18 19:59:19 +01:00
tile.png Base: Add page for testing styling on display: inline elements 2021-09-19 22:53:35 +02:00
transform.html Base: Add rotateX, rotateY, rotateZ and matrix3d examples for transform 2022-10-01 14:07:47 +02:00
trigonometry.html
unhandledpromisetest.html Everywhere: Fix a variety of typos 2022-09-14 04:46:49 +00:00
vertical-align.html LibWeb: Support CSS vertical-align values "top" and "bottom" 2022-03-24 22:57:01 +01:00
video-source-children.html Base: Add a test page to load a video element with <source> children 2023-05-13 15:51:44 +02:00
video-webm.html Base: Add options to the video test page to change its attributes 2023-04-21 07:54:36 +02:00
wasm.html LibWeb: Implement a very basic WebAssembly JS API 2021-05-26 15:34:13 +04:30
webgl-clear-color-and-multiple-contexts.html LibWeb: Add ability to present LibGL framebuffer and add clearing 2022-06-13 21:45:27 +01:00
websocket.html Base: Replace the WebSocket demo target URL with a working one 2022-02-06 13:10:10 +01:00
welcome.html LibWeb: Add initial implementation of CRC2D.globalAlpha 2023-06-18 20:31:11 +02:00
welcome.js LibWeb+WebContent: Setup the js console client earlier 2022-09-21 17:34:32 +01:00
where-selector.html Base: Add a test page for the CSS :where() selector 2022-03-18 11:34:02 +01:00
worker.js Base+LibWeb: Add test case for Workers on welcome homepage 2022-02-17 22:45:21 +01:00
worker_parent.html Base+LibWeb: Add test case for Workers on welcome homepage 2022-02-17 22:45:21 +01:00