summaryrefslogtreecommitdiff
path: root/Base/res/html/misc
AgeCommit message (Collapse)Author
2022-10-22Base: Add SameSite cookie test casesSmrtnyk
2022-10-15Base: Update display grid test pagemartinfalisse
Update the tests after adding minmax(), auto-fill and auto-fit functionality to the LibWeb implementation of the CSS Grid.
2022-10-15Base: Add test page for exceptionsPavel
Created a simple page where you can check that the exceptions appear in the JS console.
2022-10-09LibWeb+Base: Add grid repeat() functionalitymartinfalisse
Add ability to use values passed to grid-template-columns and grid-template-rows for CSS Grid layout within a repeat() function. E.g. grid-template-columns: repeat(2, 50px); means to have two columns of 50px width each.
2022-10-08LibWeb+Base: Deal with column-spans greater than implicit gridmartinfalisse
When the indicated column-span is greater than the implicit grid (like in cases when the grid has the default size of 1x1, and the column is supposed to span any number greater than that), then previously were crashing.
2022-10-07Base: Add example `backdrop-filter` using `saturate()`MacDue
2022-10-06Base+LibWeb: Make sure grid positions don't cause out of boundsmartinfalisse
Add some tests to the test page to make sure that different combinations of GridTrackPlacement don't cause out of bounds issues.
2022-10-06Base+LibWeb: Deal with zero-positioned grid itemsmartinfalisse
If a grid item has as its position value a 0 then it should be invalidated.
2022-10-06Base+LibWeb: Stub out negative spansmartinfalisse
Ensure that when a grid item is passed with a span and a fixed end position, that if the resulting start of this item is less than 0 then it won't throw. This is a temporary measure until the correct functionality is implemented.
2022-10-06LibWeb+Base: Re-implement grid track spanmartinfalisse
Implement span correctly when indicated in the grid-column-start, grid-row-start, etc. CSS properties. Previously it had been implemented as if span was something that went alongside the position property, but actually it seems like if you do 'span 3' in the grid-column-start property, for example, this means it literally spans 3 blocks, and the 3 has nothing to do with position.
2022-10-02Base: Add example backdrop-filter using hue-rotate()MacDue
2022-10-01Base: Add rotateX, rotateY, rotateZ and matrix3d examples for transformLuke Wilde
2022-09-25Base: Add paint effects with opacity/transforms HTML test casesMacDue
2022-09-22LibWeb: Only include containing blocks in coordinate space translationAndreas Kling
Layout box offset coordinates are always relative to their containing block. Therefore, the functions that convert between coordinate spaces should only visit containing blocks and apply their offsets, not *every* box in the parent chain. This fixes an issue where some floating boxes were unexpectedly far away from their containing block.
2022-09-22LibWeb: Check both top and bottom of float position when looking for fitAndreas Kling
We have to check that there's enough space at both the top and bottom of the float's margin box, otherwise we risk overlapping existing content.
2022-09-21LibWeb+WebContent: Setup the js console client earlierdavidot
This allows us to print messages in inline scripts. Also add an example of this in the welcome page to test this.
2022-09-21LibWeb: Update visibility when Node was invisible beforeJan Metzger
2022-09-16LibWeb: Improve inline flow around floating boxesAndreas Kling
This patch combines a number of techniques to make inline content flow more correctly around floats: - During inline layout, BFC now lets LineBuilder decide the Y coordinate when inserting a new float. LineBuilder has more information about the currently accumulated line, and can make better breaking decisions. - When inserting a float on one side, and the top of the newly inserted float is below the bottommost float on the opposite side, we now reset the opposite side back to the start of that edge. This improves breaking behavior between opposite-side floats. - After inserting a float during inline layout, we now recalculate the available space on the line, but don't adjust X offsets of already existing fragments. This is handled by update_last_line() anyway, so it was pointless busywork. - When measuring whether a line can fit at a given Y coordinate, we now consider both the top and bottom Y values of the line. This fixes an issue where the bottom part of a line would bleed over other content (since we had only checked that the top Y coordinate of that line would fit.) There are some pretty brain-dead algorithms in here that we need to make smarter, but I didn't want to complicate this any further so I've left FIXMEs about them instead.
2022-09-16Base: Add a `backdrop-filter` demo web pageMacDue
2022-09-14Base: Add existing @font-face test to welcome pageelectrikmilk
This adds the existing `@font-face` test page to the welcome page.
2022-09-14Everywhere: Fix a variety of typosBrian Gianforcaro
Spelling fixes found by `codespell`.
2022-09-14Base: Add more tests for display: gridmartinfalisse
2022-09-07LibWeb: Improve `float: right` behaviorAndreas Kling
- Use the border box of the floated element when testing if something needs to flow around it. - Take the floated element's containing block size into account (instead of the BFC root) when calculating available space on a line where a right-side float intrudes.
2022-08-27LibWeb: Implement the HostEnsureCanAddPrivateElement JS hookdavidot
Also added a local test for ensuring this behavior since it is unique to browsers. Since we don't actually use WindowProxy anywhere yet we just test on location for now.
2022-08-25Base: Add display grid test pagemartinfalisse
2022-08-23Base: Add an example `linear-gradient` with double-position color stopsMacDue
2022-08-18Base: Add some `repeating-linear-gradient()` examplesMacDue
2022-08-14Base: Add a test page for Path2DSam Atkins
Neither of the tests here actually passes properly right now. It's a little more aspirational... In the first one, the circle draws in the wrong place due apparently to existing bugs in `CanvasRenderingContext2D::ellipse()`. In the second, I just haven't yet implemented creating a Path2D from an SVG path string, because that's going to take a fair bit of untangling first.
2022-08-14Base: Clean up Clip test page after absolutely positioned divs fixmartinfalisse
Clean up the Clip test page after adding the logic necessary so that absolutely positioned divs are correctly positioned.
2022-08-12Base: Add some more `linear-gradient()` transition hint demosMacDue
This adds a demo of making a 'rainbow' with hard edges using transition hints, along with an animated demo of moving the transition hint.
2022-08-12Base: Remove modifications from fancy progress bar demoMacDue
This restores the demo to being the same as on css-tricks.com.
2022-08-08Base: Replace linear-gradient() pattern demo with cooler oneMacDue
The previous demo didn't work that well, not due to any LibWeb issue (same in other browsers), it just was a broken demo. This demo shows the neat tricks you can do with linear-gradient()s much better.
2022-08-08Base: Add linear-gradient + background-size demoMacDue
2022-08-08Base: Add linear-gradient list-marker demoMacDue
2022-08-08Base: Add the styled progress bar demo from css-tricks.comMacDue
See: https://css-tricks.com/html5-progress-element/ this is a neat demo of a pure CSS progress bar that makes use of linear-gradients, background-repeat, and background-size. All of which now work :^)
2022-08-07Base: Add test page for CSS clip propertyTom
2022-08-07Base: Add an example `-webkit-linear-gradient()`MacDue
2022-07-26Base: Add some more border-radius test casesMacDue
* A border-radius + a border on a <img> tag - The border-radius on the <img> should shrink to line up with the border. * A border-radius + a border on a div with overflow: hidden - The clipping border-radius should shrink (same as the image).
2022-07-24Base: Remove some unnecessary styling from progressbar.htmlMacDue
The button color here now just creates issues on dark themes, and the margin on the progress bar does nothing.
2022-07-23Base: Add some more progress bar demosMacDue
This adds an example of a progress bar with just `appearance none`, and one with `appearance none` and some custom styling.
2022-07-19Base: Add some more border-radius test casesMacDue
This adds a test for overflow: hidden + border-radius clipping child positioned elements, and child backgrounds.
2022-07-18Base: Add some more fun gradient demosMacDue
Adds tests for: - Multi-stop gradient at arbitrary angles (CPU brr) - Default/calculated color stops - to <corner> - Pre-multiplied alpha mixing
2022-07-17Base: Add simple gradients test pageMacDue
2022-07-04Base: Example of border-radius on iframe and canvas elementsMacDue
2022-07-04Base: Add some border-radius + overflow: hidden HTML examplesMacDue
2022-07-04Base: Move fun canvas demo JavaScript to seperate fileMacDue
This will allow this demo to be reused for other tests.
2022-07-04Base: Add some background-clip + border-radius HTML examplesMacDue
2022-06-30Base: Add example for `calc(<percentage> - <length>)` to calc.htmlLinus Groh
`calc(<percentage> + -<length>)` did work before, but a direct `calc(<percentage> - <length>)` was broken. Let's have a test for both.
2022-06-30Base: Fix label/actual style mismatches in calc.htmlLinus Groh
2022-06-29LibWeb: Use CSO if running script is null in HostPromiseRejectionTrackerLuke Wilde