diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2021-10-15 19:52:10 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-10-15 21:05:35 +0100 |
commit | 7879b98f6063a40509c2ad96ff9056f06f62dc1c (patch) | |
tree | 2a25c62dfb1f3d9f2ba6b6116b0c800972ffaac1 | |
parent | d28eeeb2074b56a7abf4368ac890a49efbe74153 (diff) | |
download | serenity-7879b98f6063a40509c2ad96ff9056f06f62dc1c.zip |
LibWeb: Use W3C urls for CSS-DISPLAY spec links
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/BlockContainer.h | 2 | ||||
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/BlockFormattingContext.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/BlockContainer.h b/Userland/Libraries/LibWeb/Layout/BlockContainer.h index 1e5017a671..0fa3e2aacd 100644 --- a/Userland/Libraries/LibWeb/Layout/BlockContainer.h +++ b/Userland/Libraries/LibWeb/Layout/BlockContainer.h @@ -11,7 +11,7 @@ namespace Web::Layout { -// https://drafts.csswg.org/css-display/#block-container +// https://www.w3.org/TR/css-display/#block-container class BlockContainer : public Box { public: BlockContainer(DOM::Document&, DOM::Node*, NonnullRefPtr<CSS::StyleProperties>); diff --git a/Userland/Libraries/LibWeb/Layout/BlockFormattingContext.h b/Userland/Libraries/LibWeb/Layout/BlockFormattingContext.h index c8a324992c..6a55d67be1 100644 --- a/Userland/Libraries/LibWeb/Layout/BlockFormattingContext.h +++ b/Userland/Libraries/LibWeb/Layout/BlockFormattingContext.h @@ -13,7 +13,7 @@ namespace Web::Layout { -// https://drafts.csswg.org/css-display/#block-formatting-context +// https://www.w3.org/TR/css-display/#block-formatting-context class BlockFormattingContext : public FormattingContext { public: explicit BlockFormattingContext(BlockContainer&, FormattingContext* parent); @@ -29,7 +29,7 @@ public: static float compute_theoretical_height(Box const&); void compute_width(Box&); - // https://drafts.csswg.org/css-display/#block-formatting-context-root + // https://www.w3.org/TR/css-display/#block-formatting-context-root BlockContainer& root() { return static_cast<BlockContainer&>(context_box()); } BlockContainer const& root() const { return static_cast<BlockContainer const&>(context_box()); } |