mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
LibWeb: replace some tab characters with spaces
also add missing "#pragma once" in StylePropertiesModel.h
This commit is contained in:
parent
97b5fbda7f
commit
0b0036f430
2 changed files with 8 additions and 6 deletions
|
@ -24,10 +24,10 @@
|
|||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "StylePropertiesModel.h"
|
||||
#include <LibWeb/CSS/PropertyID.h>
|
||||
#include <LibWeb/DOM/Document.h>
|
||||
#include <LibWeb/CSS/StyleProperties.h>
|
||||
#include <LibWeb/DOM/Document.h>
|
||||
#include <LibWeb/StylePropertiesModel.h>
|
||||
|
||||
namespace Web {
|
||||
|
||||
|
@ -35,10 +35,10 @@ StylePropertiesModel::StylePropertiesModel(const StyleProperties& properties)
|
|||
: m_properties(properties)
|
||||
{
|
||||
properties.for_each_property([&](auto property_id, auto& property_value) {
|
||||
Value value;
|
||||
value.name = CSS::string_from_property_id(property_id);
|
||||
value.value = property_value.to_string();
|
||||
m_values.append(value);
|
||||
Value value;
|
||||
value.name = CSS::string_from_property_id(property_id);
|
||||
value.value = property_value.to_string();
|
||||
m_values.append(value);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/NonnullRefPtrVector.h>
|
||||
#include <LibGUI/Model.h>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue