mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-03 23:00:58 +00:00 
			
		
		
		
	This change ensures that `span` is clamped to the maximum value of 1000 if the given value is larger than 2147483647.
		
			
				
	
	
		
			32 lines
		
	
	
	
		
			739 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
	
		
			739 B
		
	
	
	
		
			C++
		
	
	
	
	
	
/*
 | 
						|
 * Copyright (c) 2020, the SerenityOS developers.
 | 
						|
 *
 | 
						|
 * SPDX-License-Identifier: BSD-2-Clause
 | 
						|
 */
 | 
						|
 | 
						|
#pragma once
 | 
						|
 | 
						|
#include <LibWeb/HTML/HTMLElement.h>
 | 
						|
#include <LibWeb/WebIDL/Types.h>
 | 
						|
 | 
						|
namespace Web::HTML {
 | 
						|
 | 
						|
class HTMLTableColElement final : public HTMLElement {
 | 
						|
    WEB_PLATFORM_OBJECT(HTMLTableColElement, HTMLElement);
 | 
						|
    GC_DECLARE_ALLOCATOR(HTMLTableColElement);
 | 
						|
 | 
						|
public:
 | 
						|
    virtual ~HTMLTableColElement() override;
 | 
						|
 | 
						|
    WebIDL::UnsignedLong span() const;
 | 
						|
    WebIDL::ExceptionOr<void> set_span(WebIDL::UnsignedLong);
 | 
						|
 | 
						|
private:
 | 
						|
    HTMLTableColElement(DOM::Document&, DOM::QualifiedName);
 | 
						|
 | 
						|
    virtual void initialize(JS::Realm&) override;
 | 
						|
 | 
						|
    virtual void apply_presentational_hints(CSS::StyleProperties&) const override;
 | 
						|
};
 | 
						|
 | 
						|
}
 |