mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:57:45 +00:00
LibWeb: Don't create a layout node for <noscript> when scripting enabled
This makes stuff inside <noscript> correctly not show up since we run with scripting enabled. In the future, we can add a way to disable scripting, but for now, Document::is_scripting_enabled() just returns true.
This commit is contained in:
parent
d8208fd37c
commit
762617a028
2 changed files with 6 additions and 0 deletions
|
@ -57,6 +57,8 @@ public:
|
|||
|
||||
Origin origin() const;
|
||||
|
||||
bool is_scripting_enabled() const { return true; }
|
||||
|
||||
URL complete_url(const String&) const;
|
||||
|
||||
void fixup();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue