Skip to content

Commit c695424

Browse files
committed
reverted whitespace-only changes
1 parent 683a0ab commit c695424

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

include/litehtml/element.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ namespace litehtml
3333
std::list<std::weak_ptr<render_item>> m_renders;
3434
used_selector::vector m_used_styles;
3535

36-
virtual void select_all(const css_selector& selector, elements_list& res);
37-
element::ptr _add_before_after(int type, const style& style);
36+
virtual void select_all(const css_selector& selector, elements_list& res);
37+
element::ptr _add_before_after(int type, const style& style);
3838

3939
private:
4040
std::map<string_id, int> m_counter_values;

include/litehtml/html_tag.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
#include "stylesheet.h"
1111
#include "line_box.h"
1212
#include "table.h"
13-
#include "types.h"
1413

1514
namespace litehtml
1615
{
@@ -23,7 +22,6 @@ namespace litehtml
2322
friend class line_box;
2423
public:
2524
typedef std::shared_ptr<html_tag> ptr;
26-
2725
protected:
2826
string_id m_tag;
2927
string_id m_id;
@@ -33,7 +31,7 @@ namespace litehtml
3331
string_map m_attrs;
3432
std::vector<string_id> m_pseudo_classes;
3533

36-
void select_all(const css_selector& selector, elements_list& res) override;
34+
void select_all(const css_selector& selector, elements_list& res) override;
3735

3836
public:
3937
explicit html_tag(const std::shared_ptr<document>& doc);
@@ -84,7 +82,7 @@ namespace litehtml
8482
size_vector get_size_vector_property (string_id name, bool inherited, const size_vector& default_value, uint_ptr css_properties_member_offset) const override;
8583
string get_custom_property(string_id name, const string& default_value) const override;
8684

87-
elements_list& children();
85+
elements_list& children();
8886

8987
int select(const string& selector) override;
9088
int select(const css_selector& selector, bool apply_pseudo = true) override;

src/element.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,6 @@ string litehtml::element::get_counters_value(const string_vector& parameters)
334334
bool litehtml::element::find_counter(const string_id& counter_name_id, std::map<string_id, int>::iterator& map_iterator) {
335335
element::ptr current = shared_from_this();
336336

337-
// search upwards
338337
while (current != nullptr)
339338
{
340339
map_iterator = current->m_counter_values.find(counter_name_id);

0 commit comments

Comments
 (0)