mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-04 07:10:57 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			583 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			583 B
		
	
	
	
		
			C++
		
	
	
	
	
	
/*
 | 
						|
 * Copyright (c) 2021, Sam Atkins <atkinssj@serenityos.org>
 | 
						|
 * Copyright (c) 2023, Tim Flynn <trflynn89@serenityos.org>
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier: BSD-2-Clause
 | 
						|
 */
 | 
						|
 | 
						|
#pragma once
 | 
						|
 | 
						|
#include <AK/String.h>
 | 
						|
#include <AK/StringView.h>
 | 
						|
#include <LibJS/Forward.h>
 | 
						|
#include <LibWeb/WebIDL/ExceptionOr.h>
 | 
						|
 | 
						|
// https://www.w3.org/TR/cssom-1/#namespacedef-css
 | 
						|
namespace Web::CSS {
 | 
						|
 | 
						|
WebIDL::ExceptionOr<String> escape(JS::VM&, StringView identifier);
 | 
						|
 | 
						|
bool supports(JS::VM&, StringView property, StringView value);
 | 
						|
WebIDL::ExceptionOr<bool> supports(JS::VM&, StringView condition_text);
 | 
						|
 | 
						|
}
 |